"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const index_1 = require("../lib/api/index");
const index_2 = require("../lib/event/index");
const WechatApiSymbol = Symbol('Application#wechatApi');
const WechatEventSymbol = Symbol('Application#wechatEvent');
exports.default = {
    get wechatApi() {
        if (!this[WechatApiSymbol]) {
            this[WechatApiSymbol] = new index_1.default(this);
            this[WechatApiSymbol].WechatApi = index_1.default;
        }
        return this[WechatApiSymbol];
    },
    get wechatEvent() {
        if (!this[WechatEventSymbol]) {
            this[WechatEventSymbol] = new index_2.default(this);
            this[WechatEventSymbol].WechatEvent = index_2.default;
        }
        return this[WechatEventSymbol];
    }
};
